Skip to main content

Get Connection Log

Route

/v2/streaming/profiles/{profile_id}/connection-log

Description

Retrieve connection log entries for a streaming profile. Supports both GET and POST methods for flexible querying.

Method

GET | POST

Inputs

ParameterTypeRequiredDescription
profile_idstringYesThe unique identifier of the profile
error_filterstringNoFilter by entry type (all, error, success)
start_timestringNoEarliest log entry time (ISO 8601)
end_timestringNoLatest log entry time (ISO 8601)
page_sizeintegerNoNumber of entries to return (max 50)
page_idstringNoPage ID for pagination

POST Request Body

{
"error_filter": "error",
"start_time": "2024-01-01T00:00:00Z",
"end_time": "2024-01-31T23:59:59Z",
"page_size": 25,
"page_id": "next_page_token"
}

Output

FieldTypeDescription
profile_idstringProfile identifier
resourcesarray[LogEntry]Array of connection log entries
sizeintegerNumber of entries returned
next_page_idstringToken for next page
errorsarray[Error]Any errors encountered

Log Entry Object Structure

FieldTypeDescription
idstringUnique log entry identifier
timestringEntry timestamp (ISO 8601)
errorbooleanWhether this was an error entry
status_codeintegerHTTP status code
status_messagestringStatus message
record_countintegerNumber of records in this batch

Rate Limit

  • 60 requests per minute per API key
  • 5 concurrent requests per endpoint

Example Response

{
"profile_id": "profile-123",
"resources": [
{
"id": "log-456",
"time": "2024-01-15T10:30:00Z",
"error": false,
"status_code": 200,
"status_message": "Success",
"record_count": 150
},
{
"id": "log-789",
"time": "2024-01-15T10:25:00Z",
"error": true,
"status_code": 500,
"status_message": "Internal Server Error",
"record_count": 0
}
],
"size": 2,
"next_page_id": "next_token_abc123",
"errors": []
}